package com.guozinhs.auto.match;

import lombok.Data;

import java.awt.*;

/**
 * 图像匹配结果
 *
 * @Author: GuoZi
 * @Date: 2022/4/19 23:22
 */
@Data
public class PointInfo implements Comparable<PointInfo> {

    /**
     * 匹配点
     */
    private Point point;

    /**
     * 匹配度(%)
     */
    private Double matchPercent;

    @Override
    public int compareTo(PointInfo o) {
        return this.matchPercent.compareTo(o.matchPercent);
    }

}